package kompics.ring.events;

import se.sics.kompics.Init;
import se.sics.kompics.address.Address;

public class PeerContInit extends Init {

	private final String commandScript;

	private final Address successor;
	
	private final Address self;
	
	public PeerContInit(String commandScript, Address successor, Address self) {
		super();
		this.commandScript = commandScript;
		this.successor = successor;
		this.self = self;
	}
	
	/**
	 * Gets the command script.
	 * 
	 * @return the command script
	 */
	public final String getCommandScript() {
		return commandScript;
	}
	

	
	public Address getSuccessor() {
		return successor;
	}

	/**
	 * Gets the self.
	 * 
	 * @return the self
	 */
	public final Address getSelf() {
		return self;
	}
}
